{{extend 'layout.html'}}

<script type="text/javascript" src="{{=URL('static','plugin_uc_markmin/markitup')}}/jquery.markitup.pack.js"></script>

<script type="text/javascript" src="{{=URL('static','plugin_uc_markmin/markitup')}}/sets/markmin/set.js"></script>

<link rel="stylesheet" type="text/css" href="{{=URL('static','plugin_uc_markmin/markitup')}}/skins/markitup/style.css"/>

<link rel="stylesheet" type="text/css" href="{{=URL('static','plugin_uc_markmin/markitup')}}/sets/markmin/style.css"/>

<br/><br/>

{{if output:}}{{=output}}{{pass}}

<br/><br/>
<p>
IMPORTANT uc_markmin is still raw and has not been converted to be a Universal Cake application yet. 

If you would like to assist in conversion please let us know.
<p>
Markmin is the markup language that ships with web2py. It is designed to be simples, faste and
easy to extend. It supports html5, floating images, auto-links, class styling, tables, LaTeX formulas (via google), 
syntax highlighting (via web2py CODE helper) and in-text references. Can output in HTML, LaTeX and PDF. 
It is supported by the markitup web editor (below).
[<a href="http://web2py.googlecode.com/hg/applications/examples/static/markmin.html">read more</a>]
[<a href="{{=URL('static','web2py.app.markmin.w2p')}}">download this web app</a>]
</p>

<h2>Input</h2>

{{=form}}

<script>
jQuery(document).ready(function() {
  jQuery('textarea').css('width','95%px').css('height','45%').markItUp(mySettings);
});
</script>
